[IT] User recovery feature

Friday, 01 October 2021 12:24:38
Total Iterations

1

Total Assertions

12

Total Failed Tests

13

Total Skipped Tests

0


File Information
Collection: [IT] User recovery feature
Environment: Nightlies
Timings and Data
Total run duration: 15.5s
Total data received: 1.34KB
Average response time: 820ms
Summary Item Total Failed
Requests 18 0
Prerequest Scripts 25 0
Test Scripts 32 1
Assertions 12 12
Skipped Tests 0 -



Showing 13 Failures

Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'opportunities' of null
Failed Test:

Assertion Error Message
Cannot read property 'id' of null
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: toto@happn.com as email recovery information

Assertion Error Message
Cannot read property '0' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Recovery url Exists

Assertion Error Message
Cannot read property 'recovery_url' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 405
Failed Test: user have a least 1 recovery token

Assertion Error Message
No data, empty input at 1:1

^
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Access token is defined

Assertion Error Message
expected undefined to not deeply equal undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Access token is defined

Assertion Error Message
expected undefined to not deeply equal undefined


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 7.2s
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 204a8076-1458-4a07-9088-1e38b37054af
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:29 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 29ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 47d857cf-a416-4821-a602-8a15870af45d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 326
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1633091069869A@example.com",
            "password": "00000000",
            "first_name": "Suggested stack A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:29 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1081ms
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 3c33ae90-562a-4a21-a7f7-c77d17e053c8
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1633091069869A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:31 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 26ms
Mean size per request: 84B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2584b321-b0ad-4208-a53d-77877f1b7dbf
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:31 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'opportunities' of null
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 23ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token bea20ae9-fb0f-4259-bb5d-599339857891
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:31 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 10ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token f880c6f4-902e-4272-84c8-c349178011da
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F70.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Fri, 01 Oct 2021 12:24:31 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 26ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 4a7621b0-b881-404f-b1eb-ff9db21a47c0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:31 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 23ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d82748e2-7590-4e2d-9a00-dbbdaeef5443
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:31 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 23ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID {{userADeviceId}}
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token cbe72413-eb33-496a-a614-1ae648ea23b5
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:31 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/users/null/recovery-info
Response Information
Response Code: 403 - Forbidden
Mean time per request: 14ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
Content-Type application/json
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 52e3a472-6306-4c77-ad8e-8fa2534b3978
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 54
Request Body
{
            "type": "EMAIL",
            "value": "toto@happn.com"
        }
Response Headers
Header NameHeader Value
Content-Type application/json
Date Fri, 01 Oct 2021 12:24:31 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/recovery-info
Response Information
Response Code: 403 - Forbidden
Mean time per request: 7ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d1397e3b-7755-4194-b014-7d5d065dc15c
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Fri, 01 Oct 2021 12:24:31 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
toto@happn.com as email recovery information 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
toto@happn.com as email recovery information
Cannot read property '0' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1079ms
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Host varnish
CF-IPCountry FR
Cookie
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 9a944cbd-07d9-4e19-b796-b2924f0c6b30
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:32 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/identities/null/recovery-tokens
Response Information
Response Code: 403 - Forbidden
Mean time per request: 8ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
Content-Type application/json
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token e1400e6a-30e8-43b9-8a04-5b4242ca46c5
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 2
Request Body
{}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Fri, 01 Oct 2021 12:24:32 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Recovery url Exists 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Recovery url Exists
Cannot read property 'recovery_url' of undefined
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/identities/null/recovery-tokens
Response Information
Response Code: 405 - Method Not Allowed
Mean time per request: 7ms
Mean size per request: 0B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token bb32cdbd-8ff2-438e-857c-dcddc2463226
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Allow POST, OPTIONS
Content-Length 0
Date Fri, 01 Oct 2021 12:24:32 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
No Response Body for this request
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
user have a least 1 recovery token 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 405
user have a least 1 recovery token
No data, empty input at 1:1
        
        ^
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1092ms
Mean size per request: 85B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Host varnish
CF-IPCountry FR
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 87018256-60a2-4841-99e4-a967e15b2ba4
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 272
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"assertion","assertion_type":"recovery_token","assertion":"{ \"recovery_token\": \"{{recoveryToken}}\" }"}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:33 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Access token is defined 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Access token is defined
expected undefined to not deeply equal undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1043ms
Mean size per request: 85B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Host varnish
CF-IPCountry FR
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2b54c32a-998d-44b8-b07e-83ea7393e90d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 272
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"assertion","assertion_type":"recovery_token","assertion":"{ \"recovery_token\": \"{{recoveryToken}}\" }"}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:34 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Access token is defined 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Access token is defined
expected undefined to not deeply equal undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 3.1s
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 85b58b41-1c66-4a4c-9739-789a9d34b86c
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Fri, 01 Oct 2021 12:24:38 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 8ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token e2fb0848-e1b9-4916-a02a-9430b52831f1
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Fri, 01 Oct 2021 12:24:38 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request